package com.ruoyi.swimming.service;

import com.ruoyi.swimming.domian.CourseCoach;

import java.util.List;

/**
 * 教练Service接口
 * 
 * @author ruoyi
 * @date 2021-07-17
 */
public interface ICourseCoachService 
{
    /**
     * 查询教练
     * 
     * @param id 教练ID
     * @return 教练
     */
    public CourseCoach selectCourseCoachById(Long id);

    /**
     * 查询教练列表
     * 
     * @param courseCoach 教练
     * @return 教练集合
     */
    public List<CourseCoach> selectCourseCoachList(CourseCoach courseCoach);

    /**
     * 新增教练
     * 
     * @param courseCoach 教练
     * @return 结果
     */
    public int insertCourseCoach(CourseCoach courseCoach);

    /**
     * 修改教练
     * 
     * @param courseCoach 教练
     * @return 结果
     */
    public int updateCourseCoach(CourseCoach courseCoach);

    /**
     * 批量删除教练
     * 
     * @param ids 需要删除的教练ID
     * @return 结果
     */
    public int deleteCourseCoachByIds(Long[] ids);

    /**
     * 删除教练信息
     * 
     * @param id 教练ID
     * @return 结果
     */
    public int deleteCourseCoachById(Long id);
}
